package org.dromara.bclt.domain.bo;

import org.dromara.bclt.domain.DataScheduled;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 手环-指标数据-定时测量业务对象 bclt_data_scheduled
 *
 * @author meiyoudaan448
 * @date 2024-10-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DataScheduled.class, reverseConvertGenerate = false)
public class DataScheduledBo extends BaseEntity {

    /**
     * 主键
     */
//    @NotNull(message = "主键不能为空", groups = { $Group })0.

    private Long id;

    /**
     * 设备id
     */
    @NotNull(message = "设备id不能为空", groups = {EditGroup.class })
    private Long deviceId;

    /**
     * 设备编号
     */
    private String deviceNumber;

    /**
     * 心率
     */
    private Long hr;

    /**
     * 血氧
     */
    private Long bo;

    /**
     * 低压
     */
    private Long dbp;

    /**
     * 高压
     */
    private Long mdp;

    /**
     * 卡路里
     */
    private Long calorie;

    /**
     * 步数
     */
    private Long step;

    /**
     * 记录时间
     */
    private Date recordTime;

    /**
     * 标识app请求 1表示app
     */
    private Long client;


}
